package com.alibaba.citrus.cr.mn.order.center.facade.repository;

import com.alibaba.cz.base.tool.page.PageResult;
import com.alibaba.lattice2.epoch.sdk.model.Result;
import com.epoch.app.crforecastsales.domian.forecastorderline.dto.BatchQueryByBizDoListResponse;
import com.epoch.app.crforecastsales.model.dto.ForecastOrderLineBizDO;
import com.epoch.app.crforecastsales.sdo.ForecastOrderLineSDO;
import com.epoch.app.crforecastsales.sdo.ForecastOrderSDO;
import com.epoch.app.mnordercenter.model.dto.ForecastOrderLineRepoQueryReq;

import java.util.List;

public interface ForecastOrderLineQueryRepository {

    ForecastOrderLineSDO query(String valueOf);

    ForecastOrderSDO queryByOrderId(ForecastOrderSDO forecastOrderSDO);

    PageResult<List<ForecastOrderLineSDO>> batchLoadList(List<String> ids, List<String> mainOrderIds);

    Result<List<com.epoch.app.mnordercenter.model.dto.ForecastOrderLineSDO>> pageQueryFromEs(ForecastOrderLineRepoQueryReq forecastOrderLineRepoQueryReq);

    BatchQueryByBizDoListResponse queryByBizList(ForecastOrderLineBizDO orderLineBizDO);
}
